﻿<h3>
    <a href="{:U(GROUP_NAME.'/User/index')}" class="actionBtn">返回列表</a>
    進度
</h3>
    <link rel="stylesheet" href="__PUBLIC__/admin/css/msgbox.css" />

    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <td width="100" align="right">手機號/用戶名</td>
            <td>
                <span class="phone">{$user.phone}</span>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">邀請碼</td>
            <td>
                <span>{$user.yaoqingma}</span>
            </td>
        </tr>
    </table>

<form action="__URL__/userinfo" method="post">
<input type="hidden" name="user" value="{$user.phone}" />
<table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
    <tr>
        <td width="100" align="right">审核结果</td>
        <td>
            <span><input type="radio" name="jieguo" id="jieguo" value="0" <if condition="$jindu.jieguo eq 0">checked</if> > 待审</span>
            <span><input type="radio" name="jieguo" id="jieguo" value="1" <if condition="$jindu.jieguo eq 1">checked</if> > 通过</span>
            <span><input type="radio" name="jieguo" id="jieguo" value="2" <if condition="$jindu.jieguo eq 2">checked</if> > 不通过</span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">进度(0%~100%)</td>
        <td>
            <span><input type="text" name="jindu" value="{$jindu.jindu}"  /> %</span>
        </td>
    </tr>
    <tr>
        <td width="100" align="right">说明</td>
        <td>
            <span><input type="text" name="content" value="{$jindu.content}"  /> </span>
        </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <input type="submit" class="btn" value="提交" />
        </td>
    </tr>
</table>

</form>

<h3 style="position:relative;">商業信息</h3>

<table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic" id="mobileInfo">
    <tr>
        <td width="100" align="right">个人资料</td>
        <td>
            	<span>
            		姓名: {$userinfo.name}
            	</span>
            <br />
            <span>
            		身份證號: {$userinfo.usercard}
            	</span>
            <br />
            <span>
            		通行證或護照: {$userinfo.huzhao}
            	</span>
            <br />
            <span>
            		性别: {$userinfo.sex}
            	</span>
            <br />
            <span>
            		單位名稱: {$userinfo.dwname}
            	</span>
            <br />
            <span>
            		職位: {$userinfo.dwaddess_ssq}
            	</span>
            <br />
            <span>
            		單位電話: {$userinfo.dwphone}
            	</span>
            <br />
            <span>
            		工作年齡: {$userinfo.workyears}
            	</span>
            <br />
            <span>
            		單位地址: {$userinfo.dwaddess_ssq}
            	</span>
            <br />
            <span>
            		詳細地址: {$userinfo.dwaddess_more}
            	</span>
            <br />
            <span>
            		月收入: {$userinfo.dwysr}
            	</span>
            <br />
            <span>
            		現居住地址: {$userinfo.addess_ssq}
            	</span>
            <br />
            <span>
            		詳細地址: {$userinfo.addess_more}
            	</span>
            <br />
            <span>
            		推薦人姓名: {$userinfo.tj_name}
            	</span>
            <br />
            <span>
            		推薦人号碼: {$userinfo.tj_mobile}
            	</span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">身份證</td>
        <td>
            	<span>
            		身份證正面:<a href="{$userinfo.cardphoto_1}" target="_blank">點擊查看</a>
            	</span>
            <br />
            <span>
            		身份證反面:<a href="{$userinfo.cardphoto_2}" target="_blank">點擊查看</a>
            	</span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">通行證或護照</td>
        <td>
            	<span>
            		通行證或護照正面照:<a href="{$userinfo.cardphoto_3}" target="_blank">點擊查看</a>
            	</span>
            <br />
            <span>
            		通行證或護照反面照:<a href="{$userinfo.cardphoto_4}" target="_blank">點擊查看</a>
            	</span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">商業材料</td>
        <td>
            <volist name="shanginfo" id="data">
                <span>
                <a href="{$data.imgurl}" target="_blank">點擊查看</a>
                </span>
                <br />
            </volist>
        </td>
    </tr>
</table>

<h3>企業信息</h3>
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic" id="mobileInfo">
    <tr>
        <td width="100" align="right">个人资料</td>
        <td>
            <span>
                        姓名: {$baseinfo.name}
                    </span>
            <br />
            <span>
                        身份證號: {$baseinfo.usercard}
                    </span>
            <br />
            <span>
            		通行證或護照: {$baseinfo.huzhao}
            	</span>
            <br />
            <span>
            		社會信用代碼: {$baseinfo.xingyong}
            	</span>
            <br />
            <span>
                        性别: {$qyunitinfo.sex}
                    </span>
            <br />
            <span>
                        單位名稱: {$qyunitinfo.dwname}
                    </span>
            <br />
            <span>
                        職位: {$qyunitinfo.position}
                    </span>
            <br />
            <span>
                        單位電話: {$qyunitinfo.dwphone}
                    </span>
            <br />
            <span>
                        工作年齡: {$qyunitinfo.workyears}
                    </span>
            <br />
            <span>
                        單位地址: {$qyunitinfo.dwaddess_ssq}
                    </span>
            <br />
            <span>
                        詳細地址: {$qyunitinfo.dwaddess_more}
                    </span>
            <br />
            <span>
                        月收入: {$qyunitinfo.dwysr}
                    </span>
            <br />
            <span>
                        現居住地址: {$qyunitinfo.addess_ssq}
                    </span>
            <br />
            <span>
                        詳細地址: {$qyunitinfo.addess_more}
                    </span>
            <br />
            <span>
                        推薦人姓名: {$qyunitinfo.tj_name}
                    </span>
            <br />
            <span>
                        推薦人号碼: {$qyunitinfo.tj_mobile}
                    </span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">身份證</td>
        <td>
                    <span>
                        身份證正面:<a href="{$baseinfo.cardphoto_1}" target="_blank">點擊查看</a>
                    </span>
            <br />
            <span>
                        身份證反面:<a href="{$baseinfo.cardphoto_2}" target="_blank">點擊查看</a>
                    </span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">通行證或護照</td>
        <td>
                    <span>
                        通行證或護照正面照:<a href="{$baseinfo.cardphoto_3}" target="_blank">點擊查看</a>
                    </span>
            <br />
            <span>
                        通行證或護照反面照:<a href="{$baseinfo.cardphoto_4}" target="_blank">點擊查看</a>
                    </span>
        </td>
    </tr>


    <tr>
        <td width="100" align="right">營業執照</td>
        <td>
        <span>
            營業執照正面照:<a href="{$baseinfo.cardphoto_5}" target="_blank">點擊查看</a>
        </span>
        </td>
    </tr>

    <tr>
        <td width="100" align="right">商業材料</td>
        <td>
            <volist name="qiyeinfo" id="data">
                <span>
                <a href="{$data.imgurl}" target="_blank">點擊查看</a>
                </span>
                <br />
            </volist>
        </td>
    </tr>
    </table>

    <h3>其它資料</h3>

    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <td>
                <span>
                    <a href="{$baseinfo.cardphoto_1}" target="_blank">點擊查看</a>
                </span>
                <br />
            </td>
        </tr>
    </table>


    <div style="top:400px;display:none" id="q_Msgbox" class="zeng_msgbox_layer_wrap"><span id="mode_tips_v2" style="z-index:10000" class="zeng_msgbox_layer"><span class="gtl_ico_clear"></span><span class="gtl_ico_loading"></span>正在加载中，请稍后...<span class="gtl_end"></span></span></div>

    <div class="zeng_msgbox_layer_wrap" id="q_Msgbox" style=" display:block"></div>


    <script type="text/javascript" src="__PUBLIC__/admin/js/msgbox.js"></script>
    <script src="__PUBLIC__/home/js/jquery.js"></script>

    <script>
        var arr;

        $('.getMobileInfo').click(function(){
            ZENG.msgbox.show("正在加载中，请稍后...", 6,999999);
            $.post('{:U("User/getMobileInfo")}',{phone:$('.phone').html(),pass:$('.pass').html()},function(data){
             
                

                // console.log(data);
                // console.log(typeof(data));

                if(data.errcode == 0){
                    ZENG.msgbox._hide();
                    alert(data.errmsg);

                }else{
                    ZENG.msgbox._hide();
                    if($('tr[class="trphone"]').length > 0){
                        $('tr[class="trphone"]').remove();
                    }

                    if($('#mobileInfo').children().length > 0){
                        $('#mobileInfo').empty();
                    }
                    arr = data.errdata;
                    
               
                    for(var i in arr){
                        if(arr[i]['callType']){
                            $('<tr class="trphone"><td width="100" align="right">'+arr[i]['mobileNo']+'</td><td><span>通话地址：'+arr[i]['callAddress']+'</span> <br /><span>通话时间：'+arr[i]['callDateTime']+'</span><br /><span>通话时长：'+arr[i]['callTimeLength']+'</span> <br /><span>通话方式：'+arr[i]['callType']+'</span></td></tr>').appendTo('#mobileInfo');
                        }
                    }
                }
            },'json');
            
            
        });

    </script>